Add geocache stuff to tabsep.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 14 May 2004 18:37:12 +0000 (18:37 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 14 May 2004 18:37:12 +0000 (18:37 +0000)
gpsbabel/Makefile
gpsbabel/internal_styles.c
gpsbabel/style/tabsep.style

index cdadf9f14e6e07d0397aa793fc6316c5698cb930..897d3fbec646ca01bf89fa49e97a3353ffba269a 100644 (file)
@@ -75,7 +75,7 @@ leaktest:
 
 dep:
        make clean && make CC="gcc -MMD"  && cat *.d */*.d > /tmp/dep && rm *.d */*.d
-       (echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > $@ || (rm -f $@ ; exit 1)' ) >> /tmp/dep
+       (echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)' ) >> /tmp/dep
        echo Edit Makefile and bring in /tmp/dep
 
 #VERSIONU=1_2_3_beta04272004
@@ -243,4 +243,4 @@ jeeps/gpsutil.o: jeeps/gpsutil.c jeeps/gps.h defs.h queue.h \
   jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h jeeps/gpsnmeafmt.h \
   jeeps/gpsnmeaget.h
 internal_styles.c: mkstyle.sh style/README.style style/arc.style style/csv.style style/custom.style style/dna.style style/fugawi.style style/gpsdrive.style style/gpsman.style style/mapconverter.style style/mxf.style style/nima.style style/s_and_t.style style/saplus.style style/tabsep.style style/xmap.style style/xmapwpt.style
-       ./mkstyle.sh > dep || (rm -f dep ; exit 1)
+       ./mkstyle.sh > internal_sytles.c || (rm -f dep ; exit 1)
index 2cc2ddee1075bba6bcc7967cecb8a22bf08e79e5..e7e046b6ee8551125244904c3c678b100ee73b4b 100644 (file)
@@ -485,6 +485,11 @@ static char tabsep[] =
 "IFIELD        ALT_METERS, \"\", \"%fM\"\n"
 "IFIELD        EXCEL_TIME, \"\", \"%f\"\n"
 "IFIELD        TIMET_TIME, \"\", \"%ld\"\n"
+"IFIELD  GEOCACHE_DIFF,\"\",\"%3.1f\"\n"
+"IFIELD  GEOCACHE_TERR,\"\",\"%3.1f\"\n"
+"IFIELD  GEOCACHE_CONTAINER,\"\",\"%s\"\n"
+"IFIELD  GEOCACHE_TYPE,\"\",\"%s\"\n"
+
 ;
 static char xmap[] = 
 "# gpsbabel XCSV style file\n"
index af9efd4b48bf48180f959f4303f926be57797dda..5967d07f4f1598f21b60ca79763b1b2d3094e64e 100644 (file)
@@ -45,3 +45,8 @@ IFIELD        ALT_FEET, "", "%fF"
 IFIELD ALT_METERS, "", "%fM"
 IFIELD EXCEL_TIME, "", "%f"
 IFIELD TIMET_TIME, "", "%ld"
+IFIELD  GEOCACHE_DIFF,"","%3.1f"
+IFIELD  GEOCACHE_TERR,"","%3.1f"
+IFIELD  GEOCACHE_CONTAINER,"","%s"
+IFIELD  GEOCACHE_TYPE,"","%s"
+